package ie.hurley.service.impl;
import java.util.List;

import ie.hurley.model.ScoresList;
import ie.hurley.service.ListScoresService;
import ie.hurley.dao.ScoresListDao;
public class ListScoresServiceImpl implements ListScoresService {
	private ScoresListDao scoresListDao;
	public ScoresListDao getScoresListDao() {
		return scoresListDao;
	}
	public void setScoresListDao(ScoresListDao scoresListDao) {
		this.scoresListDao = scoresListDao;
	}
	@Override
	public List<ScoresList> listTeachersStudentsScores(int teacher_id) {
		// TODO Auto-generated method stub
		List<ScoresList> list = (List<ScoresList>) this.scoresListDao.findscoresbyteacher(teacher_id);
		return list;
	}

}
